package com.zhonghui.wms.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 智能仓储WMS-出库申请对象 wms_outbound_application
 * 
 * @author qiezhi
 * @date 2023-12-20
 */
@Data
public class WmsOutboundApplicationVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String id;

    /** 单据号 */
    @Excel(name = "单据号")
    private String documentNo;

    /** 关联单据号id */
    @Excel(name = "关联单据号id")
    private Long documentNoId;

    /** 业务类型: */
    @Excel(name = "业务类型:")
    private Long businessType;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long customerId;
    private String custom_name;
    //合同编号
    private String contract_number;
    private String order_no;

    /** 单据状态：0未分拣1已分拣2已盘点3已发货 */
    private Long documentStatus;

    /** 合同类型: */
    @Excel(name = "合同类型:")
    private Long contractType;

    /** 申请类型: */
    @Excel(name = "申请类型:")
    private Long applicationType;

    /** 申请人 */
    @Excel(name = "申请人")
    private Long applicant;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private Long applicationStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long approved;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvedDate;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long approvedStatus;

    /** 审核意见 */
    private String approvedComments;

}
